package cn.mulanbay.persistent.enums;

/**
 * 消息来源
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public enum MessageSource {

    SECURITY(0, "安全"),
    OP(1, "操作"),
    FRIEND(2, "好友"),
    PK(3, "PK消息");

    private int value;

    private String name;

    MessageSource(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
